package tech.aistar.day06.biz;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/3/15 9:45 上午
 */
public class TestAccountBiz {
    public static void main(String[] args) {
        AccountBiz biz = new AccountBiz();

        Account acc1 = new Account(1,"1001",100.0d);

        biz.saveMoney(acc1,100.0d);

        biz.withDraw(acc1,50.0d);

        System.out.println(acc1.getBalance());
    }
}
